package com.fengmi.api.cms;

import com.fengmi.entity.cms.CmsContent;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("fengmi-cms")
public interface CMSApi {
    @RequestMapping("/cms/cms-content/findContentByCatId/{catId}")
    public List<CmsContent> findContentByCatId(@PathVariable("catId")String catId);
}
